package com.googlecode.moneyManager.service;

import com.googlecode.moneyManager.model.Currency;
import com.googlecode.moneyManager.model.SecurityValue;
import com.googlecode.moneyManager.model.TypeSecurityValue;
import com.googlecode.moneyManager.model.dto.InputSecurityDTO;
import com.googlecode.moneyManager.model.dto.SecurityValueDTO;

import java.security.Security;
import java.util.Calendar;
import java.util.List;

/**
 * Author: Sergiy Doroshenko
 * Date: Apr 27, 2010
 * Time: 11:04:18 PM
 */
public interface SecurityValueService {
    void addValue(String value, TypeSecurityValue type, Currency currency);
    void addValues(InputSecurityDTO inputSecurityDTO);
    List<SecurityValue> getValuesByType(TypeSecurityValue type);
    List<SecurityValueDTO> getAllValues();
    SecurityValue getSecurityValueByDate(Calendar date, TypeSecurityValue type, Currency currency);
}
